package com.pingan.haofang.searchcloud.common.constants;

import com.pingan.haofang.framework.common.functional.lang.control.base.annotation.Value;

/**
 * 状态枚举
 *
 * @author baojie371
 * @date 17/5/4
 * @since 1.0.0
 */
public enum Status {

    /**
     * 正常
     */
    NORMAL(0),

    /**
     * 停用
     */
    STOP(1),

    /**
     * 删除
     */
    DELETE(2);

    private int value;

    Status(int value) {
        this.value = value;
    }

    @Value
    public int getValue() {
        return value;
    }
}
